﻿<%@ Page Title="换购信息录入" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="exchange_input.aspx.cs" Inherits="exchange_input" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <asp:GridView ID="GridView1" runat="server" BackColor="White" 
        BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" 
        CellSpacing="1" GridLines="None" Height="337px" Width="705px" 
        AutoGenerateColumns="False" HorizontalAlign="Center">
        <Columns>
            <asp:BoundField DataField="PRODUCT_ID" HeaderText="产品ID"/>
            
            <asp:BoundField DataField="PRODUCT_NAME" HeaderText="产品名称"/>

            <asp:BoundField DataField="CREDITS_RATE" HeaderText="积分换算比例" />

            <asp:BoundField DataField="PRODUCT_SORT" HeaderText="产品分类" />
            <asp:BoundField DataField="PRODUCT_INTRO" HeaderText="产品简介" />
            <asp:ImageField DataImageUrlField="PRODUCT_IMAGE" HeaderText="图片"  ControlStyle-Width="200px"></asp:ImageField>
           
            
        </Columns>
        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#594B9C" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#33276A" />
    </asp:GridView>
    <div style="margin:10px;text-align:center;" >
        <table align="center" style="margin-right:auto;margin-left:auto">
            <tr>
                <td>
                    请输入要发布兑换的产品ID：
                </td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server" Text="" />
                </td>
            </tr>
            <tr>
                <td>
                    请输入用来兑换的商品数量：
                </td>
                <td>
                    <asp:TextBox ID="TextBox3" runat="server" Text=""/>
                </td>
            </tr>
            <tr>
                <td>
                    请输入积分兑换这件商品的数目：
                </td>
                <td>
                    <asp:TextBox ID="TextBox2" runat="server" Text=""/>
                </td>
            </tr>
        </table>
    <asp:Button ID="Button1" runat="server" Text="确认" onclick="Button1_Click"/>
    </div>
</asp:Content>

